﻿<%@ Page Title="Login to Web Inventory Management" Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="VSM.Login"
    MasterPageFile="~/Site.Master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%= txtUserName.ClientID %>").focus();
        });
      
    </script>
   <%-- <table border="0" width="100%">
        <tr>
            <td align="left" valign="top">
                <img src="skin/images/Abeo Logo.png" alt="logo" width="150px" height="150px" />
            </td>
            <td align="right" valign="top">
                <img src="Images/logo.png" alt="logo" />
            </td>
        </tr>
    </table>--%>
    <div style="font-family: Trebuchet MS; margin-top: 70px;">
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <img src="Images/logo.png" alt="logo" />
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 350px; margin-top: 40px;
                        border-color: #A5A5A5; border-collapse: collapse">
                        <tr>
                            <td style="height: 30px; border: 0px solid #A5A5A5; background-color: #4D8CC1; color: #fff;
                                font-weight: bold; font-size: 16px;" align="center">
                                <strong>Login</strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 144; border: 1px solid #A5A5A5;">
                                <asp:UpdatePanel ID="updatePanel" runat="server">
                                    <ContentTemplate>
                                        <table border="0" cellpadding="5" cellspacing="1" align="center" style="border-color: #A5A5A5;
                                            border-collapse: collapse; margin-top: 10px">
                                            <tr>
                                                <td align="left">
                                                    <span style="font-weight: bolder; text-transform: capitalize; font-variant: normal;
                                                        height: 144;">User ID:</span>
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="txtUserName" Text="Admin" runat="server" Width="196px"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtUserName"
                                                        Display="Dynamic" ErrorMessage="Please enter User Name">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="font-weight: bold; text-transform: capitalize; font-variant: normal">
                                                    Password:
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Text="1234" ValidationGroup="validateLogin"
                                                        Width="196px"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:RequiredFieldValidator ID="rfvPasword" runat="server" ControlToValidate="txtPassword"
                                                        Display="Dynamic" ErrorMessage="Please enter password">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" align="right">
                                                    <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" Style="background-image: url('/Images/bgButton.png');
                                                        background-repeat: no-repeat;" Width="80px" BackColor="#87CEFA" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3" align="center">
                                                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="head">
</asp:Content>
